local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1
L0_1 = {}
L0_1.group_id = 220000049
L1_1 = {}
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 224
L2_1.gadget_id = 70900206
L3_1 = {}
L3_1.x = 644.882
L3_1.y = 5.793
L3_1.z = 367.358
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 133.201
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 1
L3_1 = GadgetState
L3_1 = L3_1.GearAction1
L2_1.state = L3_1
L3_1 = {}
L3_1.config_id = 225
L3_1.gadget_id = 70900206
L4_1 = {}
L4_1.x = 654.186
L4_1.y = 5.793
L4_1.z = 345.811
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 133.201
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 1
L4_1 = GadgetState
L4_1 = L4_1.GearAction2
L3_1.state = L4_1
L4_1 = {}
L4_1.config_id = 226
L4_1.gadget_id = 70900206
L5_1 = {}
L5_1.x = 661.828
L5_1.y = 5.793
L5_1.z = 368.628
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 133.201
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 1
L5_1 = GadgetState
L5_1 = L5_1.GearAction1
L4_1.state = L5_1
L5_1 = {}
L5_1.config_id = 227
L5_1.gadget_id = 71000004
L6_1 = {}
L6_1.x = 634.99
L6_1.y = 5.793
L6_1.z = 358.116
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 267.326
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 1
L6_1 = {}
L6_1.config_id = 228
L6_1.gadget_id = 71000004
L7_1 = {}
L7_1.x = 644.539
L7_1.y = 5.793
L7_1.z = 365.646
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 267.326
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 1
L7_1 = {}
L7_1.config_id = 229
L7_1.gadget_id = 71000004
L8_1 = {}
L8_1.x = 652.641
L8_1.y = 5.793
L8_1.z = 347.13
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 267.326
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 1
L8_1 = {}
L8_1.config_id = 230
L8_1.gadget_id = 71000004
L9_1 = {}
L9_1.x = 660.668
L9_1.y = 5.793
L9_1.z = 367.776
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 267.326
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 1
L9_1 = {}
L9_1.config_id = 237
L9_1.gadget_id = 71000004
L10_1 = {}
L10_1.x = 652.662
L10_1.y = 5.793
L10_1.z = 357.083
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 267.326
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 1
L10_1 = {}
L10_1.config_id = 246
L10_1.gadget_id = 71000004
L11_1 = {}
L11_1.x = 636.207
L11_1.y = 5.793
L11_1.z = 362.972
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 267.326
L11_1.z = 0.0
L10_1.rot = L11_1
L10_1.level = 1
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
gadgets = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 81
L3_1 = RegionShape
L3_1 = L3_1.SPHERE
L2_1.shape = L3_1
L2_1.radius = 5
L3_1 = {}
L3_1.x = 671.011
L3_1.y = 5.914
L3_1.z = 361.76
L2_1.pos = L3_1
L1_1[1] = L2_1
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1000081
L2_1.name = "ENTER_REGION_81"
L3_1 = EventType
L3_1 = L3_1.EVENT_ENTER_REGION
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ENTER_REGION_81"
L2_1.action = "action_EVENT_ENTER_REGION_81"
L2_1.forbid_guest = false
L1_1[1] = L2_1
triggers = L1_1
L1_1 = {}
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = true
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 224
L5_1 = 225
L6_1 = 226
L7_1 = 227
L8_1 = 228
L9_1 = 229
L10_1 = 230
L11_1 = 237
L12_1 = 246
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L2_1.gadgets = L3_1
L3_1 = {}
L4_1 = 81
L3_1[1] = L4_1
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ENTER_REGION_81"
L3_1[1] = L4_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L1_1[1] = L2_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = A1_2.param1
  if L2_2 ~= 81 then
    L2_2 = false
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.GetRegionEntityCount
  L3_2 = A0_2
  L4_2 = {}
  L5_2 = A1_2.source_eid
  L4_2.region_eid = L5_2
  L5_2 = EntityType
  L5_2 = L5_2.AVATAR
  L4_2.entity_type = L5_2
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 < 1 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ENTER_REGION_81 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 224
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 225
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 226
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ENTER_REGION_81 = L1_1
